<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta http-equiv="content-style-type" content="text/css" />
    <title><?php echo($page_title); ?> - BrainStorm (Open Source Ideas)</title>
    
    <link href="<?php echo($base_url); ?>media/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
    <link href="<?php echo($base_url); ?>media/images/favicon.png" rel="SHORTCUT ICON">
</head>
<body>

<a name="top"></a>

<div id="wrapper">
	<div id="header">
    	<img src="<?php echo($base_url); ?>media/images/logo.png" alt="brainstorm logo" />
        
        <div class="searchbox">
        	<form action="search" method="post" enctype="multipart/form-data">
            	<input name="query" type="text" class="formfield" />
                <input type="image" src="<?php echo($base_url); ?>media/images/searchbox_button.png" alt="Search" class="formbutton">
            </form>
        </div>
    </div>
    
    <div id="menu">
    	<span class="active">Home</span>
        <span>Most Popular</span>
        <span>Most Recent</span>
        <span>Register</span>
        <span>Login</span>
    </div>
    
    <!-- main content -->
    <div id="content">
		<?php
        echo($view_page);
        ?>
    </div>
    <!-- main content end -->
    
	<div id="footer">
    	Copyright &copy; 2011 <a href="http://www.osbrainstorm.com/">BrainStorm</a><br />
        Design by Site Lotus
        
        <div class="topofpage">
        	<a href="#top">Go to Top</a>
        </div>
    </div> <!-- end of footer -->

</div> <!-- end of wrapper -->

</body>
</html>